home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-20 | 1.1 KB | 28 lines | [TEXT/pdos] |
- Apple II
- Technical Notes
- _____________________________________________________________________________
- Developer Technical Support
-
-
- Apple IIGS
- #59: Do Not Create Zero-Length Text Scraps
-
- Written by: Dave Lyons July 1989
-
- This Technical Note describes a problem with PutScrap if used to create a
- zero-length text scrap.
- _____________________________________________________________________________
-
- Do not create a text scrap (scrap type $0) with length zero. LEFromScrap in
- System Software 5.0 and earlier does not expect an existing text scrap to be
- empty, and it will trash random memory if it is. It is okay for there to be
- no text scrap, but if one exists it must have a non-zero length.
-
- Even if your application does not cause a call to LEFromScrap, other
- applications and desk accessories have to live with what you put on the
- clipboard, so do not allow this condition to arise.
-
-
- Further Reference
- _____________________________________________________________________________
- o Apple IIGS Toolbox Reference, Volume 2